/***************************************************************************
 *   Copyright (C) 2007 by Gaetano Mendola   *
 *   mendola@gmail.com   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef SHAMAN_H
#define SHAMAN_H


#include "imbue.h"
#include "player.h"


//Forward declaration
class Weapon;

/**
    @author Gaetano Mendola <mendola@gmail.com>
*/
class Shaman : public Player {

public:
    static Shaman& instance();

    void setCritPercentage(double aPercentage) {
        theCritPercentage = aPercentage;
    }

    double critPercentage() const {
        return theCritPercentage;
    }

    void imbueMainHand(Imbue* anImbue);
    void imbueOffHand(Imbue* anImbue);

    void notify(const Events::Event* anEvent);

    unsigned long & lastWF() {
        return theLastWF;
    }

private:
    Shaman();
    virtual ~Shaman();

    double theCritPercentage;



    //Imbue for main hand
    Imbue*   theMainHandImbue;

    //Imbue for off hand
    Imbue*   theOffHandImbue;

    //Windfury related data, I have still to work on this
    //I don't like at all this even if it works
    unsigned long theLastWF;
};

#endif
